﻿namespace K9Tools.Abstractions.Navigation;

public interface INavigationManager
{
    event Action<bool>? CanNavigatingChanged;

    bool CanNavigating { get; set; }

    IEnumerable<NavigationViewItem> Menus { get; }

    INavigationManager Add(NavigationViewItem item);

    INavigationManager AddSubItem(string parentName, NavigationViewItem child);
}